package com.tingyuge.base.thread.wang.lock;

import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;

/**
 * Created by xiaodao
 * date: 2019/12/18
 */
public class ReentrantLockTest {

  static   Lock lock = new ReentrantLock();
    public static void main(String[] args) {
        lock.lock();
        lock.unlock();
    }
}
